/*Reset lại các mặc định của trình duyệt*/
*{
    margin: 0;
    padding: 0;
    background: transparent;
}

body{
    background: #0C1E12;
    font-family: Arial, Helvetica, Sans-serif;
    font-size: small;
    z-index: 0;
    background-color: #0C1E12;
    background-image: url("../images/body_background.png");
    background-position: center top;
    background-repeat: repeat-x;
}
a img:link, img{
    border: 0;
    border: none;
}
a{
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}
.error{
    border: 1px solid red;
}
div#page{
    margin: 0px auto;
    width: 980px;
    background: #fff;
    position: relative;
    z-index: 0;
}

/*Thiết kế phần đầu trang web: header*/
#header{
    background: #0C1E12 url(../images/body_background.png) repeat-x scroll;
}
#banner{
    height: 151px;
}
div#header_bottom{
    clear: both;
    height: 42px;
    line-height: 42px;
}
div#slogan{
    float: left;
    width: 750px;
}
div#slogan p{
    float: left;
    display: block;
    margin-left: 5px;
    color: #008040;
}
div#slogan p.title{
    color: #FF8000;
}
div#slogan p a{
    color: #008040;
}
div#slogan p a:hover{
    color: #0080FF;
}

/*Thiết kế tìm kiếm : #search*/
div#search form{
    height: 26px;
    width: 210px;
    position: relative;
    overflow: hidden;
}
div#search input#txtTim{
    border: none;
    position: absolute;
    height: 26px;
    width: 180px;
    padding-left: 8px;
    line-height: 26px;
}
div#search input#btnSubmit{
    height: 26px;
    position: absolute;
    width: 30px;
    border: none;
    top: 0px;
    left: 180px;
}

div#search input#txtTim{
    background: url(../images/search.png) no-repeat;
}
div#search input#btnSubmit{
    background: url(../images/search_submit.png) no-repeat;
    cursor: pointer;
}

/*Thiết kế menu ngang cấp 1: menu_horizontal*/
#menu_horizontal{
    width: 100%;    
    float: left;
    background: #2B492C;
    font-weight: bold;
    position: relative;
    z-index: 1000;
}
#menu_horizontal ul{
    float: left;
    list-style: none;
}
#menu_horizontal ul li{
    position: relative;
    float: left;
    line-height: 40px;
    height: 40px;
    border-right: 1px #fff solid;
}
#menu_horizontal li a{
    display: block;
    text-decoration: none;
    color: #fff;
    height: 40px;
    border: none;
    padding: 0 15px;
}
#menu_horizontal ul li:hover, #menu_horizontal li a:hover{
    background: #288768;
    color: #FFD200;
}
#menu_horizontal ul li ul li{
    margin: 0;
}
#menu_horizontal ul li ul{
    position: absolute;
    display: none;
    width: 210px;
}
#menu_horizontal ul li:hover ul{
    display: block;
}
#menu_horizontal ul li ul li{
    width: 100%;
    background: #2B492C;
    border: 1px solid #fff;
    border-top: none;
    border-bottom: 1px dotted #fff;
    margin-left: -1px;
}
#menu_horizontal ul li ul li.rounded, #menu_horizontal ul li ul li.rounded a{
    border-bottom: 1px solid #fff;
    -khtml-border-radius: 0px 0px 5px 5px; /* Konqueror */
    -moz-border-radius: 0px 0px 5px 5px; /* Firefox */
    -webkit-border-radius: 0px 0px 5px 5px; /* Safari & Google Chrome */
    border-radius: 0px 0px 5px 5px; /* Opera */
}
#menu_horizontal ul li ul li a:hover{
    background: #288768;
    color: #FFA800;
}
#menu_horizontal ul li ul li.end{
    
}

/*Thiết kế phần giữa trang web: middle*/
div#middle{
    clear: both;
    margin: 0px 0px 0px 5px;
    padding-top: 5px;
}

div#slidebar{
    float: left;
    width: 210px;
}

div#main{
    float: right;
    width: 765px;
    margin-bottom: 20px;
}

div#left{
    float: left;
    width: 556px;
    margin: 0px 4px 0px -2px;
    /*background: url(../images/navigation_title.png) no-repeat scroll;*/
}
div#right{
    float: right;
    width: 210px;
    margin-right: -3px;
}

/*Thiết kế phần content*/
div.navigation_title{
    background: url(../images/navigation_title.png) no-repeat scroll;
    height: 31px;
    line-height: 31px;
    width: 556px;
    font-size: 9pt;
    color: #FFA800;
    padding-left: 10px;
}
div.navigation_title a:link, div.navigation_title a:visited{
    color: #F7FAFB;
}
div.navigation_body{
    background: url(../images/navigation_body.png) repeat-y scroll;
    width: 556px;
    font-size: 8pt;
    padding-left: 16px;
    clear: both;
    position: relative;
    padding-top: 10px;
    overflow: auto;
}
div.navigation_footer{
    background: url(../images/navigation_footer.png) no-repeat scroll;
    width: 565px;
}

/*Thiết lập phần cuối trang web: footer*/
div#footer{
    clear: both;
    text-align: center;
    background: silver;
}

div#info{
    background: #fff;
    height: 38px;
    cursor: pointer;
}

div#copyright{
    text-align: left;
    padding-left: 20px;
    background: #2B492C;/*url(../images/footer.png) no-repeat scroll;*/
    color: #fff;
    height: 150px;
    padding-top: 20px;
    border: 1px #2E2E2E solid;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 0px 0px 5px 5px;
    margin-bottom: 10px;
}

/*Thiết kế các modules: mods ở phần slidebar và right*/
div.mods{
    margin-bottom: 5px;
}
div.mods div.title_tab{
    background: url(../images/menu_trai_title.png) no-repeat scroll;
    height: 31px;
    line-height: 31px;
	text-align: left;
    color: #FFA800;
    padding-left: 10px;
}
div.mods div.title_tab img{
    //padding-top: 5px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
div.mods div.blocks{
    background: url(../images/menu_phai_body.png) repeat-y;
}
div.mods div.blocks div.contents{
    padding-left: 10px;
    width: 189px;
    margin-left: 1px;
    background-color: #00220B;
    color: #FFF;
}
div.mods div.nosroll{
    position: relative;
    overflow: auto;
}
/*div.mods ul li img{
    vertical-align: middle;
    margin-right: 5px;
}
div.mods ul li{
    list-style: none;
    background: url(../images/menu_trai_body.png) repeat-y;
    height: 33px;
    line-height: 33px;
    padding-left: 5px;
    color: #fff;
    font-size: 9pt;
    border-bottom: 1px #A5FAA0 dashed;
}
div.mods ul li.end{
    border: none;
    height: 23px;
}
div.mods div.end_blocks{
    background: url(../images/menu_trai_footer.png) no-repeat;
}
div.mods div.end_blocks_nobg{
    background: url(../images/menu_phai_footer.png) no-repeat;
    position: relative;
    overflow: auto;
}
div.mods ul li a{
    text-decoration: none;
    color: #fff;
}
div.mods ul li a:hover{
    background: url(../images/hover_love.gif) repeat;
}*/

/*Thiết kế phần quảng cáo: pr*/
div#pr{
    
}

/*Thiết kế khối sản phẩm: product*/
div#product{

}

div.products{
    width: 170px;
    text-align: center;
    float: left;
    margin-right: 17px;
    margin-bottom: 20px;
}
div.products span{
    display: block;
}
div.products span img{
    border: none;
}

/*Thiet ke phan phan trang: #paging*/
div#paging{
    clear: both;
    text-align: center;
    margin: 10px auto;
    font-size: 10pt;
}
div#paging a{
    text-decoration: none;
    font-weight: bold;
    color: #008040;
}
div#paging a:hover{
    color: #0080FF;
    text-decoration: underline;
}
span.margin{
    margin: auto 3px;
}

/*Thiết kế phần tab: tabs*/
div.tabs{
    height: 23px;
    line-height: 23px;
    margin-bottom: 20px;
    padding-left: 20px;
    background: url(../images/tab3.png) repeat;
}
div.tabs img{
    float: left;
}
div.tabs h3{
    float: left;
    background: url(../images/tab_bg.png) repeat;
    color: #fff;
    padding: 0 10px;
}
/*Thiết kế trình bày sản phẩm*/
div.product:hover{
    background: #288768;/*#D8EFFC;*/
    cursor: pointer;
}
div.product a:link, div.product a:hover, div.product a:visited{
    color: #E9E31F;
}
div.product{
    background: #40863A;
    padding: 10px 3px;
    padding-top: 3px;
    margin-bottom: 10px;
    text-align: center;
    width: 150px;
    float: left;
    border: none;
    font-weight: bold;
    font-size: 10pt;
}
div.cen{
    margin: 0px 28px;
}
div.product span{
    display: block;
}
div.product span.rice{
    color: #FFF;
    margin: 4px auto;
}